By the time zoomToOverview is called, an animation will
always be in progress.
https://bugzilla.gnome.org/show_bug.cgi?id=694469
// Animate the full-screen to Overview transition.
zoomToOverview : function() {
// Position and scale the windows.
- if (Main.overview.animationInProgress)
- this._positionWindows(WindowPositionFlags.ANIMATE | WindowPositionFlags.INITIAL);
- else
- this._positionWindows(WindowPositionFlags.INITIAL);
+ this._positionWindows(WindowPositionFlags.ANIMATE | WindowPositionFlags.INITIAL);
},
// Animates the return from Overview mode